package cn.zl.common;

import java.io.File;

public class ZLConst {

    /**
     * 虚拟视频存
     */
    public static final class VIRTUAL_VIDEO {
        public static final String DIR = System.getProperty("user.dir") + File.separator + "data" + File.separator + "virtualvideo" + File.separator;
        public static final String APP = "virtualvideo";
    }

    /**
     * 设备注册失效
     */
    public static final String REGISTER_EXPIRE_TASK_KEY_PREFIX = "ZL_device_register_expire_";

    /**
     * 支持的播放协议
     */
    public static final class PLAY_URL_SCHEME {
        public static final String RTSP = "rtsp";
        public static final String RTMP = "rtmp";
        public static final String HTTP_FLV = "http_flv";
    }

    /**
     * 国标设备常用参数
     */
    public static final class GB28181 {
        /**
         * 虚拟主机
         */
        public static final String VHOST = "__defaultVhost__";
        public static final String APP = "GB28181";

    }
}
